package cn.tworice.system.dao.department.po;

import cn.tworice.common.po.BasicPO;
import cn.tworice.mybatis.po.BasicDO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;

@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("system_deploy_log")
public class SystemDeployLogDO extends BasicDO implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ExcelProperty("调动状态")
    private String state;
    @ExcelProperty("调动人")
    private String userId;
    @ExcelProperty("调动部门")
    private Integer deployId;


    @TableField(exist = false)
    private String nickName;
}